package org.example.clouddemo.bean.common.Param;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.example.clouddemo.bean.common.entity.User;

@EqualsAndHashCode(callSuper = true)
@ApiModel("用户信息")
@Data
public class UserAppVo extends User {
    //可以加其它的组装字段
    //隐藏字段
    @ApiModelProperty(value = "密码（加密存储）")
    @JsonIgnore
    private String password;
    @ApiModelProperty(value = "余额")
    private Double money;
    @ApiModelProperty(value = "ID")
    private Long id;
}
